package com.ouc.openplatform.zykt.authManage.service;

import java.util.List;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.authManage.model.NJ_RoleAuthority;
import com.ouc.openplatform.zykt.authManage.vo.NJ_RoleAuthorityVo;

public interface NJ_RoleAuthorityService {
	//1.保存角色权限信息
	public int saveRoleAuthority(NJ_RoleAuthority roleauthority);
	//2.删除角色权限信息
	public int deleteRoleAuthority(int id);
	//3.修改角色权限信息
	public int updateRoleAuthority(NJ_RoleAuthority roleauthority);
	//4.获取所有角色权限信息
	public EUDataGridResult  getAllRoleAuthority(NJ_RoleAuthority roleauthority,int page, int rows);
	public List<NJ_RoleAuthority>  getRoleAuthority(NJ_RoleAuthority roleauthority);
    //5.根据角色id获取所有的权限-----SXL
    public List<NJ_RoleAuthorityVo> getAllJoinRoleAuthorityByroleid(int roleid);
}
